#ifndef LEDDEVICENODE_H
#define LEDDEVICENODE_H

#include <QWidget>
#include <QTcpServer>
#include <QTcpSocket>


namespace Ui {
class LedDeviceNode;
}

class LedDeviceNode : public QWidget
{
    Q_OBJECT

public:
    explicit LedDeviceNode(QWidget *parent = 0);
    ~LedDeviceNode();

private slots:
    void new_client();
    void read_data();
private:
    Ui::LedDeviceNode *ui;
    QTcpServer *mserver;
};

#endif // LEDDEVICENODE_H
